cmake_minimum_required(VERSION 3.5)
project(my_utils_libcurl)

set(CMAKE_CXX_STANDARD 11)

include_directories(../Utils)
include_directories(include)
include_directories(../thread)

add_executable(${PROJECT_NAME} main.cpp HttpClient.cpp HttpClient.h HttpPostRunnable.h HttpPostRunnable.cpp
        ../thread/ThreadPool.h ../thread/ThreadPool.cpp ../thread/Runnable.h ../thread/Runnable.cpp)
target_link_libraries(${PROJECT_NAME} -lpthread ${PROJECT_SOURCE_DIR}/lib/libcurl.a -lssl -lcrypto -lldap -llber -lz)

